<div id="content">
	<div id="tool_box">
        <ul>
            <li><a href="javascript: void()" onclick="loadLayer('<?php echo $this->baseUrl(); ?>/admin/providers/add')"><img src="<?php echo $this->baseUrl(); ?>/images/admin/Add-icon.png"/> Add</a></li>
            <li>
                <a href="javascript: void()" onclick="customSubmit('customerForm','<?php echo $this->baseUrl(); ?>/admin/providers/delete')">
                <img src="<?php echo $this->baseUrl(); ?>/images/admin/Delete-icon.png"/> Delete</a>
            </li>
        </ul>
        <div>
        	<input type="text" id="txtCusSearch" />
            <input type="image" src="<?php echo $this->baseUrl(); ?>/images/admin/Search.png" />
        </div>
    </div>
    <?php $providers = $this->providers; ?>
    <form id="customerForm" method="get" action="">
        <table id="customerTb" class="contentTb">
        <tr>
            <th><input type="checkbox" onclick="selectAll(this,'chkCustomer[]')" /></th>
            <th>ID</th>
            <th>Providers Name</th>
            <th>Edit</th>
        </tr>
        <?php foreach ($providers as $provider) {?>
        <tr>
            <td><input type="checkbox" name="chkCustomer[]" value="<?php echo $provider->getId(); ?>" /></td>
            <td><?php echo $provider->getId(); ?></td>
            <td><?php echo $provider->getUsername(); ?></td>
            <td>
                <a href="javascript: void();" onclick="loadLayer('<?php echo $this->baseUrl(); ?>/admin/providers/update?id=<?php echo $provider->getId(); ?>')" >
                    <img src="<?php echo $this->baseUrl(); ?>/images/admin/edit-icon.png" class="smallIcon" />
                </a>
            </td>
        </tr>
        <?php } ?>
        </table>
    </form>
</div>
